package com.maxlen.config;

import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@Component
@EnableAsync // 开启异步任务
@EnableScheduling // 开启定时任务
public class ScheduledConfig {
}
